﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Specialized;

namespace 课上实例3_6
{
    class Program
    {
        static void Main(string[] args)
        {
            StringCollection sc = new StringCollection();
            sc.Add("first");
            sc.Add("second");
            sc.Add("third");
            for (int i = 0; i < sc.Count; i++)
            {
                Console.WriteLine(sc[i]);
            }
            Console.WriteLine("press Enter to exit...");
            Console.ReadKey();


          
        }
    }
}
